@model University.Models.Domain

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Domain</legend>

    <div class="display-label">NameRomanian</div>
    <div class="display-field">@Model.NameRomanian</div>

    <div class="display-label">NameRussian</div>
    <div class="display-field">@Model.NameRussian</div>

    <div class="display-label">NameOther</div>
    <div class="display-field">@Model.NameOther</div>

    <div class="display-label">Desciption</div>
    <div class="display-field">@Model.Desciption</div>

    <div class="display-label">Department</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.Department).ToString()</div>

    <div class="display-label">Groups</div>
    <div class="display-field">@(Model.Groups == null ? "None" : Model.Groups.Count.ToString())</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.DomainId }) |
    @Html.ActionLink("Back to List", "Index")
</p>


